<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');

$route['404_override'] = '';
$route['default_controller'] = "manage/index/index";
$route['index'] = "manage/index/index";
$route['exportfile'] = "manage/index/exportfile";
$route['login'] = "manage/authentic/login";
$route['logout'] = "manage/authentic/logout";
$route['profile'] = "manage/user/profile";
//$route['manage/g-people/index'] = "manage/gpeople/index";
//$route['manage/g-people/index/trang-(:num)'] = "manage/gpeople/index";

$route['manage/g-people/incentives'] = "manage/gpeople/incentives";
$route['manage/g-people/incentives/trang-(:num)'] = "manage/gpeople/incentives";
$route['manage/g-people/add-incentives'] = "manage/gpeople/addincentives";
$route['manage/g-people/edit-incentives/(:num)'] = "manage/gpeople/editincentives";
$route['manage/g-people/active-incentives'] = "manage/gpeople/activeincentives";
$route['manage/g-people/delete-incentives'] = "manage/gpeople/deleteincentives";

$route['manage/g-people/delete-images-ajax'] = "manage/gpeople/deleteimagesajax";

/**
 * 
 * @void Quốc gia, khu vực
 * 
 */
 
$route['manage/zone/country'] = "manage/zone/indexcountry";
$route['manage/zone/country/trang-(:num)'] = "manage/zone/indexcountry";
$route['manage/zone/add-country'] = "manage/zone/addcountry";
$route['manage/zone/edit-country/(:num)'] = "manage/zone/editcountry";
$route['manage/zone/delete-country/(:num)'] = "manage/zone/deletecountry";

$route['manage/zone/index'] = "manage/zone/listzone";
$route['manage/zone/index/trang-(:num)'] = "manage/zone/listzone";
$route['manage/zone/add-zone'] = "manage/zone/addzone";
$route['manage/zone/edit-zone/(:num)'] = "manage/zone/editzone";
$route['manage/zone/delete-zone/(:num)'] = "manage/zone/deletezone";
$route['sort-zone']                                    = "manage/zone/sortzone";

/**
 * 
 * @void Nhà hàng
 * 
 */
 
$route['manage/restaurant/categories'] = "manage/restaurantcategories/categoriesrestaurant";
$route['manage/restaurant/add-categories'] = "manage/restaurantcategories/addcategories";
$route['manage/restaurant/edit-categories/(:num)'] = "manage/restaurantcategories/editcategories";
$route['manage/restaurant/delete-categories/(:num)'] = "manage/restaurantcategories/deletecategories";


$route['manage/restaurant/getzone']                     = "manage/restaurant/getzone";
$route['manage/restaurant/index']                       = "manage/restaurant/index";
$route['manage/restaurant/index/trang-(:num)']          = "manage/restaurant/index";
$route['sort-label']                                    = "manage/restaurant/sortlabel";


$route['manage/restaurant/order-restaurant-categories/(:num)']                       = "manage/restaurant/orderrestaurantcategories";
$route['manage/restaurant/order-restaurant-categories/(:num)/trang-(:num)']          = "manage/restaurant/orderrestaurantcategories";

$route['manage/restaurant/order-restaurant-zone/(:num)']                       = "manage/restaurant/orderrestaurantzone";
$route['manage/restaurant/order-restaurant-zone/(:num)/trang-(:num)']          = "manage/restaurant/orderrestaurantzone";

$route['manage/restaurant/add-restaurant']              = "manage/restaurant/addrestaurant";
$route['manage/restaurant/edit-restaurant/(:num)']      = "manage/restaurant/editrestaurant";
$route['manage/restaurant/delete-restaurant/(:num)']    = "manage/restaurant/deleterestaurant";


$route['manage/address/add-address']              = "manage/address/addaddress";
$route['manage/address/edit-address/(:num)']              = "manage/address/editaddress";
$route['manage/address/index']                       = "manage/address/index";
$route['manage/address/delete-address/(:num)']    = "manage/address/deleteaddress";

$route['manage/restaurant/order']                       = "manage/restaurantorder/index";
$route['manage/restaurant/order/trang-(:num)']          = "manage/restaurantorder/index";
$route['manage/restaurant/view-list-order/(:num)']      = "manage/restaurantorder/viewlistorder";
$route['manage/restaurant/view-list-order/(:num)/trang-(:num)']      = "manage/restaurantorder/viewlistorder";

$route['manage/restaurant/view-order/(:num)']           = "manage/restaurantorder/vieworder";


$route['manage/ecoupon/index']                          = "manage/ecoupon/index";
$route['manage/ecoupon/index/(:num)']                   = "manage/ecoupon/index";

$route['manage/ecoupon/add-ecoupon']                   = "manage/ecoupon/addecoupon";
$route['manage/ecoupon/get-ecoupon']                   = "manage/ecoupon/getecoupon";
$route['manage/ecoupon/edit-ecoupon/(:num)']           = "manage/ecoupon/editecoupon";
$route['manage/ecoupon/delete-ecoupon/(:num)']         = "manage/ecoupon/deleteecoupon";

$route['manage/system/permission-list']                 = "manage/system/permissionlist";
$route['manage/system/permission-list/(:num)']          = "manage/system/permissionlist";
$route['manage/system/add-permission']                  = "manage/system/addpermission";
$route['manage/system/edit-permission/(:num)']          = "manage/system/editpermission";
$route['manage/system/delete-permission/(:num)']        = "manage/system/deletepermission";
$route['manage/system/permission-account/(:num)']       = "manage/system/permissionaccount";
$route['manage/system/delete-permission-user']          = "manage/system/deletepermissionuser";


$route['manage/userecoupon/user-ecoupon']               = "manage/userecoupon/index";
$route['manage/userecoupon/user-ecoupon/(:num)']        = "manage/userecoupon/index";
$route['manage/userecoupon/search-user-ecoupon']        = "manage/userecoupon/searchuserecoupon";
$route['manage/userecoupon/add-user-ecoupon']           = "manage/userecoupon/adduserecoupon";
$route['manage/userecoupon/delete-user-ecoupon/(:num)'] = "manage/userecoupon/deleteuserecoupon";


$route['manage/system/list-admin']                     = "manage/system/listadmin";
$route['manage/system/list-admin/trang-(:num)']        = "manage/system/listadmin";
$route['manage/system/edit-admin/(:num)']              = "manage/system/editadmin";
$route['manage/system/add-admin']                      = "manage/system/addadmin";
$route['manage/system/delete-admin/(:num)']            = "manage/system/deleteadmin";
//list staff
$route['manage/system/list-staff']                     = "manage/system/liststaff";
$route['manage/system/list-staff/trang-(:num)']        = "manage/system/liststaff";
$route['manage/system/edit-staff/(:num)']              = "manage/system/editstaff";
$route['manage/system/add-staff']                      = "manage/system/addstaff";
$route['manage/system/delete-staff/(:num)']            = "manage/system/deletestaff";

$route['thong-bao/(:any)']                              = "manage/index/notification";
$route['thong-bao']                                     = "manage/index/notification";
$route['check-permission/(:any)']                       = "manage/index/permission";
$route['check-permission']                              = "manage/index/permission";
$route['manage-getpermission']                          = "manage/index/getpermission";

/**
 * 
 * @void Slides
 * 
 */
$route['manage/slides']            = "manage/slides/index";
$route['manage/slides/delete-slides-ajax']            = "manage/slides/deleteslidesajax";

/**
 * 
 * @void Menus
 * 
 */
$route['manage/menus/index'] = "manage/menus/index";
$route['manage/menus/index/(:num)']  = "manage/menus/index";
$route['manage/menus/add-menus'] = "manage/menus/addmenus";
$route['manage/menus/edit-menus/(:num)'] = "manage/menus/editmenus";
$route['manage/menus/delete-menus/(:num)'] = "manage/menus/deletemenus";
$route['manage/menus/ajax-check-addmenus'] = "manage/menus/ajaxcheckaddmenus";
/**
 * 
 * @void Other Setting
 * 
 */
$route['manage/static/logo-gpeople']            = "manage/staticinfo/logogpeople";
$route['manage/static/fanpage']            = "manage/staticinfo/fanpagefacebook";
$route['manage/static/distance']            = "manage/staticinfo/distance";
$route['manage/static/urlhomeicook']            = "manage/staticinfo/urlhomeicook";
$route['manage/static/versionapp']            = "manage/staticinfo/versionapp";
/**
 * 
 * @void Thành viên
 * 
 */

$route['manage/member/index']                   = "manage/user/memberindex";
$route['manage/member/index/trang-(:num)']      = "manage/user/memberindex";
$route['manage/member/add-member']              = "manage/user/addmember";
$route['manage/member/edit-member/(:num)']      = "manage/user/editmember";
$route['manage/member/delete-member/(:num)']    = "manage/user/deletemember";
$route['manage/export-user']                    = "manage/user/exportuser";
$route['manage/export-user-coupon']             = "manage/user/exportusercoupon";
$route['manage/export-user-code']               = "manage/user/exportusercode";



/**
 * 
 * @void Thành viên
 * 
 */

$route['manage/member/index']                   = "manage/user/memberindex";
$route['manage/member/index/trang-(:num)']      = "manage/user/memberindex";
$route['manage/member/add-member']              = "manage/user/addmember";
$route['manage/member/edit-member/(:num)']      = "manage/user/editmember";
$route['manage/member/delete-member/(:num)']    = "manage/user/deletemember";

/**
 * 
 * @void Faq
 * 
 */
$route['manage/info/faq'] = "manage/faq/index";
$route['manage/info/add-faq'] = "manage/faq/addfaq";
$route['manage/info/edit-faq/(:num)'] = "manage/faq/editfaq";

$route['manage/info/delete-faq'] = "manage/faq/deletefaq";
$route['manage/static/home-delivery'] = "manage/delivery/homedelivery";

/**
 * 
 * @void Review
 * 
 */
$route['manage/review/index'] = "manage/review/index";
$route['manage/review/index/trang-(:num)']  = "manage/review/index";
//$route['manage/review/add-review'] = "manage/review/addreview";
$route['manage/review/edit-review/(:num)'] = "manage/review/editreview";
$route['manage/review/delete-review/(:num)'] = "manage/review/deletereview";

$route['manage/review-coupon/index'] = "manage/reviewcoupon/index";
$route['manage/review-coupon/index/trang-(:num)']  = "manage/reviewcoupon/index";
$route['manage/review-coupon/edit-review-coupon/(:num)'] = "manage/reviewcoupon/editreviewcoupon";
$route['manage/review-coupon/delete-review-coupon/(:num)'] = "manage/reviewcoupon/deletereviewcoupon";

/**
 * 
 * @void Booking
 * 
 */
$route['manage/booking/index'] = "manage/booking/index";
$route['manage/booking/index/(:num)']  = "manage/booking/index";
$route['manage/booking/edit-booking/(:num)'] = "manage/booking/editbooking";
$route['manage/booking/delete-booking/(:num)'] = "manage/booking/deletebooking";

/**
 * 
 * @void Ưu đãi mới nhất
 * 
 *
$route['manage/incentive/incentives'] = "manage/incentive/incentives";
$route['manage/incentive/incentives/trang-(:num)'] = "manage/incentive/incentives";

$route['manage/incentive/add-incentives'] = "manage/incentive/addincentives";
$route['manage/incentive/edit-incentives/(:num)'] = "manage/incentive/editincentives";
$route['manage/incentive/active-incentives'] = "manage/incentive/activeincentives";
$route['manage/incentive/delete-incentives'] = "manage/incentive/deleteincentives";

$route['manage/incentive/delete-images-ajax'] = "manage/incentive/deleteimagesajax";


/**
 * 
 * @void Setting
 * 
 */

$route['manage/setting'] = "manage/setting/settinglimit";

/**
 * 
 * @void Campaign
 * 
 */

$route['manage/campaign/user-ecoupon']               = "manage/campaign/userecoupon";
$route['manage/campaign/user-ecoupon/trang-(:num)']        = "manage/campaign/userecoupon";
$route['manage/campaign/active-user-ecoupon']               = "manage/campaign/activeuserecoupon";
$route['manage/campaign/active-user-ecoupon/(:num)']        = "manage/campaign/activeuserecoupon";
$route['manage/campaign/search-user-ecoupon']        = "manage/campaign/searchuserecoupon";
$route['manage/campaign/view-user-ecoupon/(:num)']          = "manage/campaign/viewuserecoupon";
$route['manage/campaign/add-user-ecoupon']        = "manage/campaign/adduserecoupon";
$route['manage/campaign/delete-user-ecoupon/(:num)'] = "manage/campaign/deleteuserecoupon";


$route['manage/campaign/user-code']               = "manage/campaign/usercode";
$route['manage/campaign/user-code/trang-(:num)']        = "manage/campaign/usercode";
$route['manage/campaign/active-user-code']               = "manage/campaign/activeusercode";
$route['manage/campaign/active-user-code/trang-(:num)']        = "manage/campaign/activeusercode";
$route['manage/campaign/search-user-code']        = "manage/campaign/searchusercode";

$route['manage/campaign/view-user-code/(:num)']          = "manage/campaign/viewusercode";
$route['manage/campaign/add-user-code']        = "manage/campaign/addusercode";
$route['manage/campaign/delete-user-code/(:num)'] = "manage/campaign/deleteusercode";

$route['manage/campaign/fix-email'] = "manage/campaign/fixemail";

/**
 * 
 * @void Job
 * 
 */
 
$route['manage/job/index']                   = "manage/job/index";
$route['manage/job/add-job']              = "manage/job/addjob";
$route['manage/job/edit-job/(:num)']      = "manage/job/editjob";
$route['manage/job/delete-job/(:num)']    = "manage/job/deletejob";

/**
 * 
 * @void Age Groups
 * 
 */
 
$route['manage/age-groups/index']                   = "manage/agegroups/index";
$route['manage/age-groups/add-age-groups']              = "manage/agegroups/addagegroups";
$route['manage/age-groups/edit-age-groups/(:num)']      = "manage/agegroups/editagegroups";
$route['manage/age-groups/delete-age-groups/(:num)']    = "manage/agegroups/deleteagegroups";

/**
 * 
 * @void Gift
 * 
 */
 
$route['manage/gifts/index']                   = "manage/gifts/index";
$route['manage/gifts/add-gifts']              = "manage/gifts/addgifts";
$route['manage/gifts/edit-gifts/(:num)']      = "manage/gifts/editgifts";
$route['manage/gifts/delete-gifts/(:num)']    = "manage/gifts/deletegifts";

/**
 * 
 * @void statistic
 * 
 */
 
$route['manage/statistic-downapp/index'] = "manage/statisticdownapp/index";

/**
 * 
 * @void ajax Booking
 * 
 */ 

$route['manage/booking/report']      =       "manage/booking/report";

/**
 * 
 * @void report E-coupon
 *  
 */ 

$route['manage/ecoupon/report-ecoupon']                   = "manage/ecoupon/report";
$route['manage/ecoupon/report-ecoupon/trang-(:num)']                   = "manage/ecoupon/report";
$route['manage/ecoupon/report-ecoupon/(:num)']                   = "manage/ecoupon/reportdetail";
$route['manage/ecoupon/report-ecoupon/(:num)/trang-(:num)']                   = "manage/ecoupon/reportdetail";
$route['manage/ecoupon/report/(:num)']                   = "manage/ecoupon/ajaxreporttable";

$route['manage/campaign/report-gift-code']                   = "manage/campaign/reportusercode";
$route['manage/campaign/report-gift-code/trang-(:num)']                   = "manage/campaign/reportusercode";
$route['manage/campaign/report']                   = "manage/campaign/ajaxreporttable";
$route['manage/campaign/reportgiftcode']                   = "manage/campaign/ajaxreporttablegiftcode";
$route['manage/campaign/report-voucher-code']                   = "manage/campaign/reportuservoucher";
$route['manage/campaign/report-voucher-code/trang-(:num)']                   = "manage/campaign/reportuservoucher";
$route['ajax-get-list-coupon'] = 'manage/slides/ajaxgetlistcoupon';
$route['manage/static/incentive-province']                   = "manage/staticinfo/incentiveprovince";
$route['manage/static/add-select-province']                   = "manage/staticinfo/addselectp";

/**
 * 
 * @void report E-coupon
 *  
 */ 
 
$route['manage/control/push'] = "manage/push/pushnotification";